package com.rgs.springboot.annotate;

/**
 * @program: 01-custom-springboot
 * @description: 自定义springboot启动类注解
 * @author: Mr.Ren
 * @create: 2024-07-01 21:11
 **/

import com.rgs.springboot.selector.RgsImportSelect;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Configuration
@ComponentScan
//@Import(WebServiceAutoConfiguration.class) //需要将我们写的一个配置类导入进来
@Import(RgsImportSelect.class)//上面那种方式太单一了
public @interface RgsSpringBootApplication {
}
